//
//  StringUtil.h
//

#import <Foundation/Foundation.h>

@interface StringUtil : NSObject

+ (CGSize)textSizeWithText:(NSString *)textStr font:(UIFont*)font numberOfLines:(NSInteger)numberOfLines lineSpacing:(CGFloat)lineSpacing constrainedWidth:(CGFloat)constrainedWidth;

+ (NSAttributedString*)setText:(NSString*)text lineSpacing:(CGFloat)lineSpace font:(UIFont*)font withAlignment:(NSTextAlignment)alignment;

+ (NSString* )starsReplacedOfString:(NSString *)str withinRange:(NSRange)range;

+ (void)telephoneCall:(NSString*)telNo;

+ (BOOL)determineWhetherTheAPPOpensTheLocation;

+ (BOOL)isCanUseCamera;




@end
